package com.ztesoft.web.taskgenerator.db.arg;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.apache.commons.lang.StringEscapeUtils;
import org.apache.commons.lang.StringUtils;

import com.ztesoft.framework.util.Utils;


public class DmTaskStageArg {
    private String pk_name = "DM_INFO_ID";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<DmTaskStageCriteria> oredCriteria;

    public DmTaskStageArg() {
        oredCriteria = new ArrayList<DmTaskStageCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<DmTaskStageCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(DmTaskStageCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public DmTaskStageCriteria or() {
    	DmTaskStageCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public DmTaskStageCriteria createCriteria() {
    	DmTaskStageCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected DmTaskStageCriteria createCriteriaInternal() {
    	DmTaskStageCriteria criteria = new DmTaskStageCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<DmTaskStageCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<DmTaskStageCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<DmTaskStageCriterion> getAllCriteria() {
            return criteria;
        }

        public List<DmTaskStageCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new DmTaskStageCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new DmTaskStageCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new DmTaskStageCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new DmTaskStageCriterion(condition, value1, value2));
        }

        public DmTaskStageCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andDmInfoIdIsNull() {
            addCriterion("DM_INFO_ID is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmInfoIdIsNotNull() {
            addCriterion("DM_INFO_ID is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmInfoIdEqualTo(Integer value) {
            addCriterion("DM_INFO_ID =", value, "DM_INFO_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmInfoIdNotEqualTo(Integer value) {
            addCriterion("DM_INFO_ID <>", value, "DM_INFO_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmInfoIdGreaterThan(Integer value) {
            addCriterion("DM_INFO_ID >", value, "DM_INFO_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmInfoIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("DM_INFO_ID >=", value, "DM_INFO_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmInfoIdLessThan(Integer value) {
            addCriterion("DM_INFO_ID <", value, "DM_INFO_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmInfoIdLessThanOrEqualTo(Integer value) {
            addCriterion("DM_INFO_ID <=", value, "DM_INFO_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmInfoIdLike(Integer value) {
            addCriterion("DM_INFO_ID like ", value, "DM_INFO_ID", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmInfoIdNotLike(Integer value) {
            addCriterion("DM_INFO_ID  not like ", value, "DM_INFO_ID", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmInfoIdLeftLike(Integer value) {
            addCriterion("DM_INFO_ID like ", value, "DM_INFO_ID", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmInfoIdNotLeftLike(Integer value) {
            addCriterion("DM_INFO_ID  not like ", value, "DM_INFO_ID", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmInfoIdRightLike(Integer value) {
            addCriterion("DM_INFO_ID like ", value, "DM_INFO_ID", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmInfoIdNotRightLike(Integer value) {
            addCriterion("DM_INFO_ID  not like ", value, "DM_INFO_ID", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmInfoIdIn(List<Integer> values) {
            addCriterion("DM_INFO_ID  in ", values, "DM_INFO_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmInfoIdNotIn(List<Integer> values) {
            addCriterion("DM_INFO_ID not in ", values, "DM_INFO_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmInfoIdBetween(Integer value1, Integer value2) {
            addCriterion("DM_INFO_ID between ", value1, value2, "DM_INFO_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmInfoIdNotBetween(Integer value1, Integer value2) {
            addCriterion("DM_INFO_ID not between ", value1, value2, "DM_INFO_ID");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andDmTaskIdIsNull() {
            addCriterion("DM_TASK_ID is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmTaskIdIsNotNull() {
            addCriterion("DM_TASK_ID is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmTaskIdEqualTo(Integer value) {
            addCriterion("DM_TASK_ID =", value, "DM_TASK_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmTaskIdNotEqualTo(Integer value) {
            addCriterion("DM_TASK_ID <>", value, "DM_TASK_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmTaskIdGreaterThan(Integer value) {
            addCriterion("DM_TASK_ID >", value, "DM_TASK_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmTaskIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("DM_TASK_ID >=", value, "DM_TASK_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmTaskIdLessThan(Integer value) {
            addCriterion("DM_TASK_ID <", value, "DM_TASK_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmTaskIdLessThanOrEqualTo(Integer value) {
            addCriterion("DM_TASK_ID <=", value, "DM_TASK_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmTaskIdLike(Integer value) {
            addCriterion("DM_TASK_ID like ", value, "DM_TASK_ID", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmTaskIdNotLike(Integer value) {
            addCriterion("DM_TASK_ID  not like ", value, "DM_TASK_ID", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmTaskIdLeftLike(Integer value) {
            addCriterion("DM_TASK_ID like ", value, "DM_TASK_ID", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmTaskIdNotLeftLike(Integer value) {
            addCriterion("DM_TASK_ID  not like ", value, "DM_TASK_ID", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmTaskIdRightLike(Integer value) {
            addCriterion("DM_TASK_ID like ", value, "DM_TASK_ID", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmTaskIdNotRightLike(Integer value) {
            addCriterion("DM_TASK_ID  not like ", value, "DM_TASK_ID", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmTaskIdIn(List<Integer> values) {
            addCriterion("b.DM_TASK_ID  in ", values, "DM_TASK_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmTaskIdNotIn(List<Integer> values) {
            addCriterion("DM_TASK_ID not in ", values, "DM_TASK_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmTaskIdBetween(Integer value1, Integer value2) {
            addCriterion("DM_TASK_ID between ", value1, value2, "DM_TASK_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmTaskIdNotBetween(Integer value1, Integer value2) {
            addCriterion("DM_TASK_ID not between ", value1, value2, "DM_TASK_ID");
            return (DmTaskStageCriteria) this;
        }
        
        
        
        
        
        
        
        
        
        public DmTaskStageCriteria andDmStrategyIdIsNull() {
            addCriterion("DM_STRATEGY_ID is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmStrategyIdIsNotNull() {
            addCriterion("DM_STRATEGY_ID is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmStrategyIdEqualTo(Integer value) {
            addCriterion("DM_STRATEGY_ID =", value, "DM_STRATEGY_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmStrategyIdNotEqualTo(Integer value) {
            addCriterion("DM_STRATEGY_ID <>", value, "DM_STRATEGY_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmStrategyIdGreaterThan(Integer value) {
            addCriterion("DM_STRATEGY_ID >", value, "DM_STRATEGY_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmStrategyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("DM_STRATEGY_ID >=", value, "DM_STRATEGY_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmStrategyIdLessThan(Integer value) {
            addCriterion("DM_STRATEGY_ID <", value, "DM_STRATEGY_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmStrategyIdLessThanOrEqualTo(Integer value) {
            addCriterion("DM_STRATEGY_ID <=", value, "DM_STRATEGY_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmStrategyIdLike(Integer value) {
            addCriterion("DM_STRATEGY_ID like ", value, "DM_STRATEGY_ID", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmStrategyIdNotLike(Integer value) {
            addCriterion("DM_STRATEGY_ID  not like ", value, "DM_STRATEGY_ID", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmStrategyIdLeftLike(Integer value) {
            addCriterion("DM_STRATEGY_ID like ", value, "DM_STRATEGY_ID", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmStrategyIdNotLeftLike(Integer value) {
            addCriterion("DM_STRATEGY_ID  not like ", value, "DM_STRATEGY_ID", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmStrategyIdRightLike(Integer value) {
            addCriterion("DM_STRATEGY_ID like ", value, "DM_STRATEGY_ID", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmStrategyIdNotRightLike(Integer value) {
            addCriterion("DM_STRATEGY_ID  not like ", value, "DM_STRATEGY_ID", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmStrategyIdIn(List<Integer> values) {
            addCriterion("DM_STRATEGY_ID  in ", values, "DM_STRATEGY_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmStrategyIdNotIn(List<Integer> values) {
            addCriterion("DM_STRATEGY_ID not in ", values, "DM_STRATEGY_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmStrategyIdBetween(Integer value1, Integer value2) {
            addCriterion("DM_STRATEGY_ID between ", value1, value2, "DM_STRATEGY_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDmStrategyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("DM_STRATEGY_ID not between ", value1, value2, "DM_STRATEGY_ID");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andDataTypeIsNull() {
            addCriterion("DATA_TYPE is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDataTypeIsNotNull() {
            addCriterion("DATA_TYPE is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDataTypeEqualTo(Integer value) {
            addCriterion("DATA_TYPE =", value, "DATA_TYPE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDataTypeNotEqualTo(Integer value) {
            addCriterion("DATA_TYPE <>", value, "DATA_TYPE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDataTypeGreaterThan(Integer value) {
            addCriterion("DATA_TYPE >", value, "DATA_TYPE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDataTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("DATA_TYPE >=", value, "DATA_TYPE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDataTypeLessThan(Integer value) {
            addCriterion("DATA_TYPE <", value, "DATA_TYPE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDataTypeLessThanOrEqualTo(Integer value) {
            addCriterion("DATA_TYPE <=", value, "DATA_TYPE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDataTypeLike(Integer value) {
            addCriterion("DATA_TYPE like ", value, "DATA_TYPE", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDataTypeNotLike(Integer value) {
            addCriterion("DATA_TYPE  not like ", value, "DATA_TYPE", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDataTypeLeftLike(Integer value) {
            addCriterion("DATA_TYPE like ", value, "DATA_TYPE", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDataTypeNotLeftLike(Integer value) {
            addCriterion("DATA_TYPE  not like ", value, "DATA_TYPE", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDataTypeRightLike(Integer value) {
            addCriterion("DATA_TYPE like ", value, "DATA_TYPE", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDataTypeNotRightLike(Integer value) {
            addCriterion("DATA_TYPE  not like ", value, "DATA_TYPE", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDataTypeIn(List<Integer> values) {
            addCriterion("DATA_TYPE  in ", values, "DATA_TYPE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDataTypeNotIn(List<Integer> values) {
            addCriterion("DATA_TYPE not in ", values, "DATA_TYPE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDataTypeBetween(Integer value1, Integer value2) {
            addCriterion("DATA_TYPE between ", value1, value2, "DATA_TYPE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andDataTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("DATA_TYPE not between ", value1, value2, "DATA_TYPE");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andCheckObjNameIsNull() {
            addCriterion("CHECK_OBJ_NAME is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckObjNameIsNotNull() {
            addCriterion("CHECK_OBJ_NAME is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckObjNameEqualTo(String value) {
            addCriterion("CHECK_OBJ_NAME =", value, "CHECK_OBJ_NAME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckObjNameNotEqualTo(String value) {
            addCriterion("CHECK_OBJ_NAME <>", value, "CHECK_OBJ_NAME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckObjNameGreaterThan(String value) {
            addCriterion("CHECK_OBJ_NAME >", value, "CHECK_OBJ_NAME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckObjNameGreaterThanOrEqualTo(String value) {
            addCriterion("CHECK_OBJ_NAME >=", value, "CHECK_OBJ_NAME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckObjNameLessThan(String value) {
            addCriterion("CHECK_OBJ_NAME <", value, "CHECK_OBJ_NAME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckObjNameLessThanOrEqualTo(String value) {
            addCriterion("CHECK_OBJ_NAME <=", value, "CHECK_OBJ_NAME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckObjNameLike(String value) {
            addCriterion("CHECK_OBJ_NAME like ", value, "CHECK_OBJ_NAME", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckObjNameNotLike(String value) {
            addCriterion("CHECK_OBJ_NAME  not like ", value, "CHECK_OBJ_NAME", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckObjNameLeftLike(String value) {
            addCriterion("CHECK_OBJ_NAME like ", value, "CHECK_OBJ_NAME", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckObjNameNotLeftLike(String value) {
            addCriterion("CHECK_OBJ_NAME  not like ", value, "CHECK_OBJ_NAME", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckObjNameRightLike(String value) {
            addCriterion("CHECK_OBJ_NAME like ", value, "CHECK_OBJ_NAME", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckObjNameNotRightLike(String value) {
            addCriterion("CHECK_OBJ_NAME  not like ", value, "CHECK_OBJ_NAME", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckObjNameIn(List<String> values) {
            addCriterion("CHECK_OBJ_NAME  in ", values, "CHECK_OBJ_NAME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckObjNameNotIn(List<String> values) {
            addCriterion("CHECK_OBJ_NAME not in ", values, "CHECK_OBJ_NAME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckObjNameBetween(String value1, String value2) {
            addCriterion("CHECK_OBJ_NAME between ", value1, value2, "CHECK_OBJ_NAME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckObjNameNotBetween(String value1, String value2) {
            addCriterion("CHECK_OBJ_NAME not between ", value1, value2, "CHECK_OBJ_NAME");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andStageIsNull() {
            addCriterion("STAGE is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStageIsNotNull() {
            addCriterion("STAGE is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStageEqualTo(Integer value) {
            addCriterion("STAGE =", value, "STAGE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStageNotEqualTo(Integer value) {
            addCriterion("STAGE <>", value, "STAGE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStageGreaterThan(Integer value) {
            addCriterion("STAGE >", value, "STAGE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStageGreaterThanOrEqualTo(Integer value) {
            addCriterion("STAGE >=", value, "STAGE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStageLessThan(Integer value) {
            addCriterion("STAGE <", value, "STAGE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStageLessThanOrEqualTo(Integer value) {
            addCriterion("STAGE <=", value, "STAGE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStageLike(Integer value) {
            addCriterion("STAGE like ", value, "STAGE", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStageNotLike(Integer value) {
            addCriterion("STAGE  not like ", value, "STAGE", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStageLeftLike(Integer value) {
            addCriterion("STAGE like ", value, "STAGE", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStageNotLeftLike(Integer value) {
            addCriterion("STAGE  not like ", value, "STAGE", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStageRightLike(Integer value) {
            addCriterion("STAGE like ", value, "STAGE", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStageNotRightLike(Integer value) {
            addCriterion("STAGE  not like ", value, "STAGE", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStageIn(List<Integer> values) {
            addCriterion("STAGE  in ", values, "STAGE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStageNotIn(List<Integer> values) {
            addCriterion("STAGE not in ", values, "STAGE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStageBetween(Integer value1, Integer value2) {
            addCriterion("STAGE between ", value1, value2, "STAGE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStageNotBetween(Integer value1, Integer value2) {
            addCriterion("STAGE not between ", value1, value2, "STAGE");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andStateIsNull() {
            addCriterion("STATE is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateIsNotNull() {
            addCriterion("STATE is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateEqualTo(String value) {
            addCriterion("STATE =", value, "STATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateNotEqualTo(String value) {
            addCriterion("STATE <>", value, "STATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateGreaterThan(String value) {
            addCriterion("STATE >", value, "STATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateGreaterThanOrEqualTo(String value) {
            addCriterion("STATE >=", value, "STATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateLessThan(String value) {
            addCriterion("STATE <", value, "STATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateLessThanOrEqualTo(String value) {
            addCriterion("STATE <=", value, "STATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateLike(String value) {
            addCriterion("STATE like ", value, "STATE", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateNotLike(String value) {
            addCriterion("STATE  not like ", value, "STATE", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateLeftLike(String value) {
            addCriterion("STATE like ", value, "STATE", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateNotLeftLike(String value) {
            addCriterion("STATE  not like ", value, "STATE", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateRightLike(String value) {
            addCriterion("STATE like ", value, "STATE", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateNotRightLike(String value) {
            addCriterion("STATE  not like ", value, "STATE", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateIn(List<String> values) {
            addCriterion("STATE  in ", values, "STATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateNotIn(List<String> values) {
            addCriterion("STATE not in ", values, "STATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateBetween(String value1, String value2) {
            addCriterion("STATE between ", value1, value2, "STATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateNotBetween(String value1, String value2) {
            addCriterion("STATE not between ", value1, value2, "STATE");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andStateDateIsNull() {
            addCriterion("STATE_DATE is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateDateIsNotNull() {
            addCriterion("STATE_DATE is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateDateEqualTo(String value) {
            addCriterion("STATE_DATE =", value, "STATE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateDateNotEqualTo(String value) {
            addCriterion("STATE_DATE <>", value, "STATE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateDateGreaterThan(String value) {
            addCriterion("STATE_DATE >", value, "STATE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateDateGreaterThanOrEqualTo(String value) {
            addCriterion("STATE_DATE >=", value, "STATE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateDateLessThan(String value) {
            addCriterion("STATE_DATE <", value, "STATE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateDateLessThanOrEqualTo(String value) {
            addCriterion("STATE_DATE <=", value, "STATE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateDateLike(String value) {
            addCriterion("STATE_DATE like ", value, "STATE_DATE", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateDateNotLike(String value) {
            addCriterion("STATE_DATE  not like ", value, "STATE_DATE", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateDateLeftLike(String value) {
            addCriterion("STATE_DATE like ", value, "STATE_DATE", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateDateNotLeftLike(String value) {
            addCriterion("STATE_DATE  not like ", value, "STATE_DATE", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateDateRightLike(String value) {
            addCriterion("STATE_DATE like ", value, "STATE_DATE", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateDateNotRightLike(String value) {
            addCriterion("STATE_DATE  not like ", value, "STATE_DATE", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateDateIn(List<String> values) {
            addCriterion("STATE_DATE  in ", values, "STATE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateDateNotIn(List<String> values) {
            addCriterion("STATE_DATE not in ", values, "STATE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateDateBetween(String value1, String value2) {
            addCriterion("STATE_DATE between ", value1, value2, "STATE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andStateDateNotBetween(String value1, String value2) {
            addCriterion("STATE_DATE not between ", value1, value2, "STATE_DATE");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andCreateDateIsNull() {
            addCriterion("CREATE_DATE is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCreateDateIsNotNull() {
            addCriterion("CREATE_DATE is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCreateDateEqualTo(String value) {
            addCriterion("CREATE_DATE =", value, "CREATE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCreateDateNotEqualTo(String value) {
            addCriterion("CREATE_DATE <>", value, "CREATE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCreateDateGreaterThan(String value) {
            addCriterion("CREATE_DATE >", value, "CREATE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCreateDateGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_DATE >=", value, "CREATE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCreateDateLessThan(String value) {
            addCriterion("CREATE_DATE <", value, "CREATE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCreateDateLessThanOrEqualTo(String value) {
            addCriterion("CREATE_DATE <=", value, "CREATE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCreateDateLike(String value) {
            addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCreateDateNotLike(String value) {
            addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCreateDateLeftLike(String value) {
            addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCreateDateNotLeftLike(String value) {
            addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCreateDateRightLike(String value) {
            addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCreateDateNotRightLike(String value) {
            addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCreateDateIn(List<String> values) {
            addCriterion("CREATE_DATE  in ", values, "CREATE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCreateDateNotIn(List<String> values) {
            addCriterion("CREATE_DATE not in ", values, "CREATE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCreateDateBetween(String value1, String value2) {
            addCriterion("CREATE_DATE between ", value1, value2, "CREATE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCreateDateNotBetween(String value1, String value2) {
            addCriterion("CREATE_DATE not between ", value1, value2, "CREATE_DATE");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andTaskStartTimeIsNull() {
            addCriterion("TASK_START_TIME is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskStartTimeIsNotNull() {
            addCriterion("TASK_START_TIME is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskStartTimeEqualTo(String value) {
            addCriterion("TASK_START_TIME =", value, "TASK_START_TIME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskStartTimeNotEqualTo(String value) {
            addCriterion("TASK_START_TIME <>", value, "TASK_START_TIME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskStartTimeGreaterThan(String value) {
            addCriterion("TASK_START_TIME >", value, "TASK_START_TIME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskStartTimeGreaterThanOrEqualTo(String value) {
            addCriterion("TASK_START_TIME >=", value, "TASK_START_TIME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskStartTimeLessThan(String value) {
            addCriterion("TASK_START_TIME <", value, "TASK_START_TIME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskStartTimeLessThanOrEqualTo(String value) {
            addCriterion("TASK_START_TIME <=", value, "TASK_START_TIME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskStartTimeLike(String value) {
            addCriterion("TASK_START_TIME like ", value, "TASK_START_TIME", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskStartTimeNotLike(String value) {
            addCriterion("TASK_START_TIME  not like ", value, "TASK_START_TIME", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskStartTimeLeftLike(String value) {
            addCriterion("TASK_START_TIME like ", value, "TASK_START_TIME", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskStartTimeNotLeftLike(String value) {
            addCriterion("TASK_START_TIME  not like ", value, "TASK_START_TIME", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskStartTimeRightLike(String value) {
            addCriterion("TASK_START_TIME like ", value, "TASK_START_TIME", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskStartTimeNotRightLike(String value) {
            addCriterion("TASK_START_TIME  not like ", value, "TASK_START_TIME", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskStartTimeIn(List<String> values) {
            addCriterion("TASK_START_TIME  in ", values, "TASK_START_TIME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskStartTimeNotIn(List<String> values) {
            addCriterion("TASK_START_TIME not in ", values, "TASK_START_TIME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskStartTimeBetween(String value1, String value2) {
            addCriterion("TASK_START_TIME between ", value1, value2, "TASK_START_TIME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskStartTimeNotBetween(String value1, String value2) {
            addCriterion("TASK_START_TIME not between ", value1, value2, "TASK_START_TIME");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andTaskEndTimeIsNull() {
            addCriterion("TASK_END_TIME is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskEndTimeIsNotNull() {
            addCriterion("TASK_END_TIME is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskEndTimeEqualTo(String value) {
            addCriterion("TASK_END_TIME =", value, "TASK_END_TIME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskEndTimeNotEqualTo(String value) {
            addCriterion("TASK_END_TIME <>", value, "TASK_END_TIME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskEndTimeGreaterThan(String value) {
            addCriterion("TASK_END_TIME >", value, "TASK_END_TIME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskEndTimeGreaterThanOrEqualTo(String value) {
            addCriterion("TASK_END_TIME >=", value, "TASK_END_TIME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskEndTimeLessThan(String value) {
            addCriterion("TASK_END_TIME <", value, "TASK_END_TIME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskEndTimeLessThanOrEqualTo(String value) {
            addCriterion("TASK_END_TIME <=", value, "TASK_END_TIME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskEndTimeLike(String value) {
            addCriterion("TASK_END_TIME like ", value, "TASK_END_TIME", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskEndTimeNotLike(String value) {
            addCriterion("TASK_END_TIME  not like ", value, "TASK_END_TIME", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskEndTimeLeftLike(String value) {
            addCriterion("TASK_END_TIME like ", value, "TASK_END_TIME", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskEndTimeNotLeftLike(String value) {
            addCriterion("TASK_END_TIME  not like ", value, "TASK_END_TIME", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskEndTimeRightLike(String value) {
            addCriterion("TASK_END_TIME like ", value, "TASK_END_TIME", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskEndTimeNotRightLike(String value) {
            addCriterion("TASK_END_TIME  not like ", value, "TASK_END_TIME", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskEndTimeIn(List<String> values) {
            addCriterion("TASK_END_TIME  in ", values, "TASK_END_TIME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskEndTimeNotIn(List<String> values) {
            addCriterion("TASK_END_TIME not in ", values, "TASK_END_TIME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskEndTimeBetween(String value1, String value2) {
            addCriterion("TASK_END_TIME between ", value1, value2, "TASK_END_TIME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskEndTimeNotBetween(String value1, String value2) {
            addCriterion("TASK_END_TIME not between ", value1, value2, "TASK_END_TIME");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andErrorDescIsNull() {
            addCriterion("ERROR_DESC is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andErrorDescIsNotNull() {
            addCriterion("ERROR_DESC is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andErrorDescEqualTo(String value) {
            addCriterion("ERROR_DESC =", value, "ERROR_DESC");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andErrorDescNotEqualTo(String value) {
            addCriterion("ERROR_DESC <>", value, "ERROR_DESC");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andErrorDescGreaterThan(String value) {
            addCriterion("ERROR_DESC >", value, "ERROR_DESC");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andErrorDescGreaterThanOrEqualTo(String value) {
            addCriterion("ERROR_DESC >=", value, "ERROR_DESC");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andErrorDescLessThan(String value) {
            addCriterion("ERROR_DESC <", value, "ERROR_DESC");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andErrorDescLessThanOrEqualTo(String value) {
            addCriterion("ERROR_DESC <=", value, "ERROR_DESC");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andErrorDescLike(String value) {
            addCriterion("ERROR_DESC like ", value, "ERROR_DESC", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andErrorDescNotLike(String value) {
            addCriterion("ERROR_DESC  not like ", value, "ERROR_DESC", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andErrorDescLeftLike(String value) {
            addCriterion("ERROR_DESC like ", value, "ERROR_DESC", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andErrorDescNotLeftLike(String value) {
            addCriterion("ERROR_DESC  not like ", value, "ERROR_DESC", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andErrorDescRightLike(String value) {
            addCriterion("ERROR_DESC like ", value, "ERROR_DESC", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andErrorDescNotRightLike(String value) {
            addCriterion("ERROR_DESC  not like ", value, "ERROR_DESC", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andErrorDescIn(List<String> values) {
            addCriterion("ERROR_DESC  in ", values, "ERROR_DESC");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andErrorDescNotIn(List<String> values) {
            addCriterion("ERROR_DESC not in ", values, "ERROR_DESC");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andErrorDescBetween(String value1, String value2) {
            addCriterion("ERROR_DESC between ", value1, value2, "ERROR_DESC");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andErrorDescNotBetween(String value1, String value2) {
            addCriterion("ERROR_DESC not between ", value1, value2, "ERROR_DESC");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andCheckCountIsNull() {
            addCriterion("CHECK_COUNT is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckCountIsNotNull() {
            addCriterion("CHECK_COUNT is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckCountEqualTo(Integer value) {
            addCriterion("CHECK_COUNT =", value, "CHECK_COUNT");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckCountNotEqualTo(Integer value) {
            addCriterion("CHECK_COUNT <>", value, "CHECK_COUNT");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckCountGreaterThan(Integer value) {
            addCriterion("CHECK_COUNT >", value, "CHECK_COUNT");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("CHECK_COUNT >=", value, "CHECK_COUNT");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckCountLessThan(Integer value) {
            addCriterion("CHECK_COUNT <", value, "CHECK_COUNT");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckCountLessThanOrEqualTo(Integer value) {
            addCriterion("CHECK_COUNT <=", value, "CHECK_COUNT");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckCountLike(Integer value) {
            addCriterion("CHECK_COUNT like ", value, "CHECK_COUNT", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckCountNotLike(Integer value) {
            addCriterion("CHECK_COUNT  not like ", value, "CHECK_COUNT", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckCountLeftLike(Integer value) {
            addCriterion("CHECK_COUNT like ", value, "CHECK_COUNT", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckCountNotLeftLike(Integer value) {
            addCriterion("CHECK_COUNT  not like ", value, "CHECK_COUNT", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckCountRightLike(Integer value) {
            addCriterion("CHECK_COUNT like ", value, "CHECK_COUNT", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckCountNotRightLike(Integer value) {
            addCriterion("CHECK_COUNT  not like ", value, "CHECK_COUNT", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckCountIn(List<Integer> values) {
            addCriterion("CHECK_COUNT  in ", values, "CHECK_COUNT");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckCountNotIn(List<Integer> values) {
            addCriterion("CHECK_COUNT not in ", values, "CHECK_COUNT");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckCountBetween(Integer value1, Integer value2) {
            addCriterion("CHECK_COUNT between ", value1, value2, "CHECK_COUNT");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckCountNotBetween(Integer value1, Integer value2) {
            addCriterion("CHECK_COUNT not between ", value1, value2, "CHECK_COUNT");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andTotalRecordCountIsNull() {
            addCriterion("TOTAL_RECORD_COUNT is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalRecordCountIsNotNull() {
            addCriterion("TOTAL_RECORD_COUNT is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalRecordCountEqualTo(Integer value) {
            addCriterion("TOTAL_RECORD_COUNT =", value, "TOTAL_RECORD_COUNT");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalRecordCountNotEqualTo(Integer value) {
            addCriterion("TOTAL_RECORD_COUNT <>", value, "TOTAL_RECORD_COUNT");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalRecordCountGreaterThan(Integer value) {
            addCriterion("TOTAL_RECORD_COUNT >", value, "TOTAL_RECORD_COUNT");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalRecordCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("TOTAL_RECORD_COUNT >=", value, "TOTAL_RECORD_COUNT");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalRecordCountLessThan(Integer value) {
            addCriterion("TOTAL_RECORD_COUNT <", value, "TOTAL_RECORD_COUNT");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalRecordCountLessThanOrEqualTo(Integer value) {
            addCriterion("TOTAL_RECORD_COUNT <=", value, "TOTAL_RECORD_COUNT");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalRecordCountLike(Integer value) {
            addCriterion("TOTAL_RECORD_COUNT like ", value, "TOTAL_RECORD_COUNT", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalRecordCountNotLike(Integer value) {
            addCriterion("TOTAL_RECORD_COUNT  not like ", value, "TOTAL_RECORD_COUNT", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalRecordCountLeftLike(Integer value) {
            addCriterion("TOTAL_RECORD_COUNT like ", value, "TOTAL_RECORD_COUNT", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalRecordCountNotLeftLike(Integer value) {
            addCriterion("TOTAL_RECORD_COUNT  not like ", value, "TOTAL_RECORD_COUNT", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalRecordCountRightLike(Integer value) {
            addCriterion("TOTAL_RECORD_COUNT like ", value, "TOTAL_RECORD_COUNT", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalRecordCountNotRightLike(Integer value) {
            addCriterion("TOTAL_RECORD_COUNT  not like ", value, "TOTAL_RECORD_COUNT", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalRecordCountIn(List<Integer> values) {
            addCriterion("TOTAL_RECORD_COUNT  in ", values, "TOTAL_RECORD_COUNT");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalRecordCountNotIn(List<Integer> values) {
            addCriterion("TOTAL_RECORD_COUNT not in ", values, "TOTAL_RECORD_COUNT");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalRecordCountBetween(Integer value1, Integer value2) {
            addCriterion("TOTAL_RECORD_COUNT between ", value1, value2, "TOTAL_RECORD_COUNT");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalRecordCountNotBetween(Integer value1, Integer value2) {
            addCriterion("TOTAL_RECORD_COUNT not between ", value1, value2, "TOTAL_RECORD_COUNT");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andCheckDataSizeIsNull() {
            addCriterion("CHECK_DATA_SIZE is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDataSizeIsNotNull() {
            addCriterion("CHECK_DATA_SIZE is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDataSizeEqualTo(String value) {
            addCriterion("CHECK_DATA_SIZE =", value, "CHECK_DATA_SIZE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDataSizeNotEqualTo(String value) {
            addCriterion("CHECK_DATA_SIZE <>", value, "CHECK_DATA_SIZE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDataSizeGreaterThan(String value) {
            addCriterion("CHECK_DATA_SIZE >", value, "CHECK_DATA_SIZE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDataSizeGreaterThanOrEqualTo(String value) {
            addCriterion("CHECK_DATA_SIZE >=", value, "CHECK_DATA_SIZE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDataSizeLessThan(String value) {
            addCriterion("CHECK_DATA_SIZE <", value, "CHECK_DATA_SIZE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDataSizeLessThanOrEqualTo(String value) {
            addCriterion("CHECK_DATA_SIZE <=", value, "CHECK_DATA_SIZE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDataSizeLike(String value) {
            addCriterion("CHECK_DATA_SIZE like ", value, "CHECK_DATA_SIZE", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDataSizeNotLike(String value) {
            addCriterion("CHECK_DATA_SIZE  not like ", value, "CHECK_DATA_SIZE", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDataSizeLeftLike(String value) {
            addCriterion("CHECK_DATA_SIZE like ", value, "CHECK_DATA_SIZE", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDataSizeNotLeftLike(String value) {
            addCriterion("CHECK_DATA_SIZE  not like ", value, "CHECK_DATA_SIZE", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDataSizeRightLike(String value) {
            addCriterion("CHECK_DATA_SIZE like ", value, "CHECK_DATA_SIZE", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDataSizeNotRightLike(String value) {
            addCriterion("CHECK_DATA_SIZE  not like ", value, "CHECK_DATA_SIZE", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDataSizeIn(List<String> values) {
            addCriterion("CHECK_DATA_SIZE  in ", values, "CHECK_DATA_SIZE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDataSizeNotIn(List<String> values) {
            addCriterion("CHECK_DATA_SIZE not in ", values, "CHECK_DATA_SIZE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDataSizeBetween(String value1, String value2) {
            addCriterion("CHECK_DATA_SIZE between ", value1, value2, "CHECK_DATA_SIZE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDataSizeNotBetween(String value1, String value2) {
            addCriterion("CHECK_DATA_SIZE not between ", value1, value2, "CHECK_DATA_SIZE");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andTotalDataSizeIsNull() {
            addCriterion("TOTAL_DATA_SIZE is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalDataSizeIsNotNull() {
            addCriterion("TOTAL_DATA_SIZE is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalDataSizeEqualTo(String value) {
            addCriterion("TOTAL_DATA_SIZE =", value, "TOTAL_DATA_SIZE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalDataSizeNotEqualTo(String value) {
            addCriterion("TOTAL_DATA_SIZE <>", value, "TOTAL_DATA_SIZE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalDataSizeGreaterThan(String value) {
            addCriterion("TOTAL_DATA_SIZE >", value, "TOTAL_DATA_SIZE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalDataSizeGreaterThanOrEqualTo(String value) {
            addCriterion("TOTAL_DATA_SIZE >=", value, "TOTAL_DATA_SIZE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalDataSizeLessThan(String value) {
            addCriterion("TOTAL_DATA_SIZE <", value, "TOTAL_DATA_SIZE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalDataSizeLessThanOrEqualTo(String value) {
            addCriterion("TOTAL_DATA_SIZE <=", value, "TOTAL_DATA_SIZE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalDataSizeLike(String value) {
            addCriterion("TOTAL_DATA_SIZE like ", value, "TOTAL_DATA_SIZE", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalDataSizeNotLike(String value) {
            addCriterion("TOTAL_DATA_SIZE  not like ", value, "TOTAL_DATA_SIZE", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalDataSizeLeftLike(String value) {
            addCriterion("TOTAL_DATA_SIZE like ", value, "TOTAL_DATA_SIZE", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalDataSizeNotLeftLike(String value) {
            addCriterion("TOTAL_DATA_SIZE  not like ", value, "TOTAL_DATA_SIZE", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalDataSizeRightLike(String value) {
            addCriterion("TOTAL_DATA_SIZE like ", value, "TOTAL_DATA_SIZE", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalDataSizeNotRightLike(String value) {
            addCriterion("TOTAL_DATA_SIZE  not like ", value, "TOTAL_DATA_SIZE", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalDataSizeIn(List<String> values) {
            addCriterion("TOTAL_DATA_SIZE  in ", values, "TOTAL_DATA_SIZE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalDataSizeNotIn(List<String> values) {
            addCriterion("TOTAL_DATA_SIZE not in ", values, "TOTAL_DATA_SIZE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalDataSizeBetween(String value1, String value2) {
            addCriterion("TOTAL_DATA_SIZE between ", value1, value2, "TOTAL_DATA_SIZE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTotalDataSizeNotBetween(String value1, String value2) {
            addCriterion("TOTAL_DATA_SIZE not between ", value1, value2, "TOTAL_DATA_SIZE");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andAudiStaffIdIsNull() {
            addCriterion("AUDI_STAFF_ID is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andAudiStaffIdIsNotNull() {
            addCriterion("AUDI_STAFF_ID is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andAudiStaffIdEqualTo(Integer value) {
            addCriterion("AUDI_STAFF_ID =", value, "AUDI_STAFF_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andAudiStaffIdNotEqualTo(Integer value) {
            addCriterion("AUDI_STAFF_ID <>", value, "AUDI_STAFF_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andAudiStaffIdGreaterThan(Integer value) {
            addCriterion("AUDI_STAFF_ID >", value, "AUDI_STAFF_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andAudiStaffIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("AUDI_STAFF_ID >=", value, "AUDI_STAFF_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andAudiStaffIdLessThan(Integer value) {
            addCriterion("AUDI_STAFF_ID <", value, "AUDI_STAFF_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andAudiStaffIdLessThanOrEqualTo(Integer value) {
            addCriterion("AUDI_STAFF_ID <=", value, "AUDI_STAFF_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andAudiStaffIdLike(Integer value) {
            addCriterion("AUDI_STAFF_ID like ", value, "AUDI_STAFF_ID", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andAudiStaffIdNotLike(Integer value) {
            addCriterion("AUDI_STAFF_ID  not like ", value, "AUDI_STAFF_ID", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andAudiStaffIdLeftLike(Integer value) {
            addCriterion("AUDI_STAFF_ID like ", value, "AUDI_STAFF_ID", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andAudiStaffIdNotLeftLike(Integer value) {
            addCriterion("AUDI_STAFF_ID  not like ", value, "AUDI_STAFF_ID", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andAudiStaffIdRightLike(Integer value) {
            addCriterion("AUDI_STAFF_ID like ", value, "AUDI_STAFF_ID", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andAudiStaffIdNotRightLike(Integer value) {
            addCriterion("AUDI_STAFF_ID  not like ", value, "AUDI_STAFF_ID", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andAudiStaffIdIn(List<Integer> values) {
            addCriterion("AUDI_STAFF_ID  in ", values, "AUDI_STAFF_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andAudiStaffIdNotIn(List<Integer> values) {
            addCriterion("AUDI_STAFF_ID not in ", values, "AUDI_STAFF_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andAudiStaffIdBetween(Integer value1, Integer value2) {
            addCriterion("AUDI_STAFF_ID between ", value1, value2, "AUDI_STAFF_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andAudiStaffIdNotBetween(Integer value1, Integer value2) {
            addCriterion("AUDI_STAFF_ID not between ", value1, value2, "AUDI_STAFF_ID");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andIsCheckIsNull() {
            addCriterion("IS_CHECK is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andIsCheckIsNotNull() {
            addCriterion("IS_CHECK is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andIsCheckEqualTo(Integer value) {
            addCriterion("IS_CHECK =", value, "IS_CHECK");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andIsCheckNotEqualTo(Integer value) {
            addCriterion("IS_CHECK <>", value, "IS_CHECK");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andIsCheckGreaterThan(Integer value) {
            addCriterion("IS_CHECK >", value, "IS_CHECK");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andIsCheckGreaterThanOrEqualTo(Integer value) {
            addCriterion("IS_CHECK >=", value, "IS_CHECK");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andIsCheckLessThan(Integer value) {
            addCriterion("IS_CHECK <", value, "IS_CHECK");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andIsCheckLessThanOrEqualTo(Integer value) {
            addCriterion("IS_CHECK <=", value, "IS_CHECK");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andIsCheckLike(Integer value) {
            addCriterion("IS_CHECK like ", value, "IS_CHECK", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andIsCheckNotLike(Integer value) {
            addCriterion("IS_CHECK  not like ", value, "IS_CHECK", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andIsCheckLeftLike(Integer value) {
            addCriterion("IS_CHECK like ", value, "IS_CHECK", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andIsCheckNotLeftLike(Integer value) {
            addCriterion("IS_CHECK  not like ", value, "IS_CHECK", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andIsCheckRightLike(Integer value) {
            addCriterion("IS_CHECK like ", value, "IS_CHECK", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andIsCheckNotRightLike(Integer value) {
            addCriterion("IS_CHECK  not like ", value, "IS_CHECK", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andIsCheckIn(List<Integer> values) {
            addCriterion("IS_CHECK  in ", values, "IS_CHECK");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andIsCheckNotIn(List<Integer> values) {
            addCriterion("IS_CHECK not in ", values, "IS_CHECK");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andIsCheckBetween(Integer value1, Integer value2) {
            addCriterion("IS_CHECK between ", value1, value2, "IS_CHECK");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andIsCheckNotBetween(Integer value1, Integer value2) {
            addCriterion("IS_CHECK not between ", value1, value2, "IS_CHECK");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andCheckDateIsNull() {
            addCriterion("CHECK_DATE is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDateIsNotNull() {
            addCriterion("CHECK_DATE is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDateEqualTo(String value) {
            addCriterion("CHECK_DATE =", value, "CHECK_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDateNotEqualTo(String value) {
            addCriterion("CHECK_DATE <>", value, "CHECK_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDateGreaterThan(String value) {
            addCriterion("CHECK_DATE >", value, "CHECK_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDateGreaterThanOrEqualTo(String value) {
            addCriterion("CHECK_DATE >=", value, "CHECK_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDateLessThan(String value) {
            addCriterion("CHECK_DATE <", value, "CHECK_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDateLessThanOrEqualTo(String value) {
            addCriterion("CHECK_DATE <=", value, "CHECK_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDateLike(String value) {
            addCriterion("CHECK_DATE like ", value, "CHECK_DATE", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDateNotLike(String value) {
            addCriterion("CHECK_DATE  not like ", value, "CHECK_DATE", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDateLeftLike(String value) {
            addCriterion("CHECK_DATE like ", value, "CHECK_DATE", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDateNotLeftLike(String value) {
            addCriterion("CHECK_DATE  not like ", value, "CHECK_DATE", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDateRightLike(String value) {
            addCriterion("CHECK_DATE like ", value, "CHECK_DATE", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDateNotRightLike(String value) {
            addCriterion("CHECK_DATE  not like ", value, "CHECK_DATE", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDateIn(List<String> values) {
            addCriterion("CHECK_DATE  in ", values, "CHECK_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDateNotIn(List<String> values) {
            addCriterion("CHECK_DATE not in ", values, "CHECK_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDateBetween(String value1, String value2) {
            addCriterion("CHECK_DATE between ", value1, value2, "CHECK_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andCheckDateNotBetween(String value1, String value2) {
            addCriterion("CHECK_DATE not between ", value1, value2, "CHECK_DATE");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andNodeIdIsNull() {
            addCriterion("NODE_ID is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andNodeIdIsNotNull() {
            addCriterion("NODE_ID is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andNodeIdEqualTo(Integer value) {
            addCriterion("NODE_ID =", value, "NODE_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andNodeIdNotEqualTo(Integer value) {
            addCriterion("NODE_ID <>", value, "NODE_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andNodeIdGreaterThan(Integer value) {
            addCriterion("NODE_ID >", value, "NODE_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andNodeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("NODE_ID >=", value, "NODE_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andNodeIdLessThan(Integer value) {
            addCriterion("NODE_ID <", value, "NODE_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andNodeIdLessThanOrEqualTo(Integer value) {
            addCriterion("NODE_ID <=", value, "NODE_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andNodeIdLike(Integer value) {
            addCriterion("NODE_ID like ", value, "NODE_ID", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andNodeIdNotLike(Integer value) {
            addCriterion("NODE_ID  not like ", value, "NODE_ID", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andNodeIdLeftLike(Integer value) {
            addCriterion("NODE_ID like ", value, "NODE_ID", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andNodeIdNotLeftLike(Integer value) {
            addCriterion("NODE_ID  not like ", value, "NODE_ID", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andNodeIdRightLike(Integer value) {
            addCriterion("NODE_ID like ", value, "NODE_ID", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andNodeIdNotRightLike(Integer value) {
            addCriterion("NODE_ID  not like ", value, "NODE_ID", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andNodeIdIn(List<Integer> values) {
            addCriterion("NODE_ID  in ", values, "NODE_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andNodeIdNotIn(List<Integer> values) {
            addCriterion("NODE_ID not in ", values, "NODE_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andNodeIdBetween(Integer value1, Integer value2) {
            addCriterion("NODE_ID between ", value1, value2, "NODE_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andNodeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("NODE_ID not between ", value1, value2, "NODE_ID");
            return (DmTaskStageCriteria) this;
        }
        
        public DmTaskStageCriteria andSourceDataIdIsNull() {
            addCriterion("SOURCE_DATA_ID is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andSourceDataIdIsNotNull() {
            addCriterion("SOURCE_DATA_ID is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andSourceDataIdEqualTo(Integer value) {
            addCriterion("SOURCE_DATA_ID =", value, "SOURCE_DATA_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andSourceDataIdNotEqualTo(Integer value) {
            addCriterion("SOURCE_DATA_ID <>", value, "SOURCE_DATA_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andSourceDataIdGreaterThan(Integer value) {
            addCriterion("SOURCE_DATA_ID >", value, "SOURCE_DATA_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andSourceDataIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("SOURCE_DATA_ID >=", value, "SOURCE_DATA_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andSourceDataIdLessThan(Integer value) {
            addCriterion("SOURCE_DATA_ID <", value, "SOURCE_DATA_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andSourceDataIdLessThanOrEqualTo(Integer value) {
            addCriterion("SOURCE_DATA_ID <=", value, "SOURCE_DATA_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andSourceDataIdLike(Integer value) {
            addCriterion("SOURCE_DATA_ID like ", value, "SOURCE_DATA_ID", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andSourceDataIdNotLike(Integer value) {
            addCriterion("SOURCE_DATA_ID  not like ", value, "SOURCE_DATA_ID", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andSourceDataIdLeftLike(Integer value) {
            addCriterion("SOURCE_DATA_ID like ", value, "SOURCE_DATA_ID", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andSourceDataIdNotLeftLike(Integer value) {
            addCriterion("SOURCE_DATA_ID  not like ", value, "SOURCE_DATA_ID", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andSourceDataIdRightLike(Integer value) {
            addCriterion("SOURCE_DATA_ID like ", value, "SOURCE_DATA_ID", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andSourceDataIdNotRightLike(Integer value) {
            addCriterion("SOURCE_DATA_ID  not like ", value, "SOURCE_DATA_ID", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andSourceDataIdIn(List<Integer> values) {
            addCriterion("SOURCE_DATA_ID  in ", values, "SOURCE_DATA_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andSourceDataIdNotIn(List<Integer> values) {
            addCriterion("SOURCE_DATA_ID not in ", values, "SOURCE_DATA_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andSourceDataIdBetween(Integer value1, Integer value2) {
            addCriterion("SOURCE_DATA_ID between ", value1, value2, "SOURCE_DATA_ID");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andSourceDataIdNotBetween(Integer value1, Integer value2) {
            addCriterion("SOURCE_DATA_ID not between ", value1, value2, "SOURCE_DATA_ID");
            return (DmTaskStageCriteria) this;
        }
        
        //计划名称
        public DmTaskStageCriteria andPlanNameIsNull() {
            addCriterion("a.PLAN_NAME is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andPlanNameIsNotNull() {
            addCriterion("a.PLAN_NAME is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andPlanNameEqualTo(String value) {
            addCriterion("a.PLAN_NAME =", value, "a.PLAN_NAME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andPlanNameNotEqualTo(String value) {
            addCriterion("a.PLAN_NAME <>", value, "a.PLAN_NAME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andPlanNameGreaterThan(String value) {
            addCriterion("a.PLAN_NAME >", value, "a.PLAN_NAME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andPlanNameGreaterThanOrEqualTo(String value) {
            addCriterion("a.PLAN_NAME >=", value, "a.PLAN_NAME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andPlanNameLessThan(String value) {
            addCriterion("a.PLAN_NAME <", value, "a.PLAN_NAME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andPlanNameLessThanOrEqualTo(String value) {
            addCriterion("a.PLAN_NAME <=", value, "a.PLAN_NAME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andPlanNameLike(String value) {
        	String name[] = value.split(" ");
        	for (String string : name) {
        		if(!Utils.isEmpty(string)){
        			addCriterion("a.PLAN_NAME like ", string, "a.PLAN_NAME", 1);
        		}
			}
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andPlanNameNotLike(String value) {
            addCriterion("a.PLAN_NAME  not like ", value, "a.PLAN_NAME", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andPlanNameLeftLike(String value) {
            addCriterion("a.PLAN_NAME like ", value, "a.PLAN_NAME", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andPlanNameNotLeftLike(String value) {
            addCriterion("a.PLAN_NAME  not like ", value, "a.PLAN_NAME", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andPlanNameRightLike(String value) {
            addCriterion("a.PLAN_NAME like ", value, "a.PLAN_NAME", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andPlanNameNotRightLike(String value) {
            addCriterion("a.PLAN_NAME  not like ", value, "a.PLAN_NAME", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andPlanNameIn(List<String> values) {
            addCriterion("a.PLAN_NAME  in ", values, "a.PLAN_NAME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andPlanNameNotIn(List<String> values) {
            addCriterion("a.PLAN_NAME not in ", values, "a.PLAN_NAME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andPlanNameBetween(String value1, String value2) {
            addCriterion("a.PLAN_NAME between ", value1, value2, "a.PLAN_NAME");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andPlanNameNotBetween(String value1, String value2) {
            addCriterion("a.PLAN_NAME not between ", value1, value2, "a.PLAN_NAME");
            return (DmTaskStageCriteria) this;
        }
        
        
        
        
        
        
        
        //任务状态
        public DmTaskStageCriteria andTaskStateIsNull() {
            addCriterion("b.STATE is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskStateIsNotNull() {
            addCriterion("b.STATE is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskStateEqualTo(String value) {
            addCriterion("b.STATE =", value, "b.STATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskStateNotEqualTo(String value) {
            addCriterion("b.STATE <>", value, "b.STATE");
            return (DmTaskStageCriteria) this;
        }


        public DmTaskStageCriteria andTaskStateLike(String value) {
            addCriterion("b.STATE like ", value, "b.STATE", 1);
            return (DmTaskStageCriteria) this;
        }


        public DmTaskStageCriteria andTaskStateIn(List<String> values) {
            addCriterion("b.STATE  in ", values, "b.STATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andTaskStateNotIn(List<String> values) {
            addCriterion("b.STATE not in ", values, "b.STATE");
            return (DmTaskStageCriteria) this;
        }

        
        //任务环节
        public DmTaskStageCriteria andConStageIsNull() {
            addCriterion("c.stage is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andConStageIsNotNull() {
            addCriterion("c.stage is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andConStageEqualTo(Integer value) {
            addCriterion("c.stage =", value, "c.stage");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andConStageNotEqualTo(Integer value) {
            addCriterion("c.stage <>", value, "c.stage");
            return (DmTaskStageCriteria) this;
        }


        public DmTaskStageCriteria andConStageLike(Integer value) {
            addCriterion("c.stage like ", value, "c.stage", 1);
            return (DmTaskStageCriteria) this;
        }


        public DmTaskStageCriteria andConStageIn(List<Integer> values) {
            addCriterion("c.stage  in ", values, "c.stage");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andConStageNotIn(List<Integer> values) {
            addCriterion("c.stage not in ", values, "c.stage");
            return (DmTaskStageCriteria) this;
        }

        
        
        
        //系统id
        public DmTaskStageCriteria andConNodeIdIsNull() {
            addCriterion("a.node_id is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andConNodeIdIsNotNull() {
            addCriterion("a.node_id is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andConNodeIdEqualTo(Integer value) {
            addCriterion("a.node_id =", value, "a.node_id");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andConNodeIdNotEqualTo(Integer value) {
            addCriterion("a.node_id <>", value, "a.node_id");
            return (DmTaskStageCriteria) this;
        }


        public DmTaskStageCriteria andConNodeIdLike(Integer value) {
            addCriterion("a.node_id like ", value, "a.node_id", 1);
            return (DmTaskStageCriteria) this;
        }


        public DmTaskStageCriteria andConNodeIdIn(List<Integer> values) {
            addCriterion("a.node_id  in ", values, "a.node_id");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andConNodeIdNotIn(List<Integer> values) {
            addCriterion("a.node_id not in ", values, "a.node_id");
            return (DmTaskStageCriteria) this;
        }

        
        
        
        
        //计划状态--00A
        public DmTaskStageCriteria andConStateIsNull() {
            addCriterion("a.STATE is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andConStateIsNotNull() {
            addCriterion("a.STATE is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andConStateEqualTo(String value) {
            addCriterion("a.STATE =", value, "a.STATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andConStateNotEqualTo(String value) {
            addCriterion("a.STATE <>", value, "a.STATE");
            return (DmTaskStageCriteria) this;
        }


        public DmTaskStageCriteria andConStateLike(String value) {
            addCriterion("a.STATE like ", value, "a.STATE", 1);
            return (DmTaskStageCriteria) this;
        }


        public DmTaskStageCriteria andConStateIn(List<String> values) {
            addCriterion("a.STATE  in ", values, "a.STATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andConStateNotIn(List<String> values) {
            addCriterion("a.STATE not in ", values, "a.STATE");
            return (DmTaskStageCriteria) this;
        }
        
        
        //b.SCHEDULE_DATE
        public DmTaskStageCriteria andScheduleDateIsNull() {
            addCriterion("b.SCHEDULE_DATE is null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andScheduleDateIsNotNull() {
            addCriterion("b.SCHEDULE_DATE is not null");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andScheduleDateEqualTo(Date value) {
            addCriterion("b.SCHEDULE_DATE =", value, "b.SCHEDULE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andScheduleDateNotEqualTo(Date value) {
            addCriterion("b.SCHEDULE_DATE <>", value, "b.SCHEDULE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andScheduleDateGreaterThan(Date value) {
            addCriterion("b.SCHEDULE_DATE >", value, "b.SCHEDULE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andScheduleDateGreaterThanOrEqualTo(Date value) {
            addCriterion("b.SCHEDULE_DATE >=", value, "b.SCHEDULE_DATE");
            return (DmTaskStageCriteria) this;
        }
        
        public DmTaskStageCriteria andScheduleDateGreaterThanOrEqualTo(String value) {
            addCriterion("b.SCHEDULE_DATE >=", value, "b.SCHEDULE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andScheduleDateLessThan(Date value) {
            addCriterion("b.SCHEDULE_DATE <", value, "b.SCHEDULE_DATE");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andScheduleDateLessThan(String value) {
        	addCriterion("b.SCHEDULE_DATE <", value, "b.SCHEDULE_DATE");
        	return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andScheduleDateLessThanOrEqualTo(Date value) {
            addCriterion("b.SCHEDULE_DATE <=", value, "b.SCHEDULE_DATE");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andScheduleDateLessThanOrEqualTo(String value) {
        	addCriterion("b.SCHEDULE_DATE <=", value, "b.SCHEDULE_DATE");
        	return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andScheduleDateLike(Date value) {
            addCriterion("b.SCHEDULE_DATE like ", value, "b.SCHEDULE_DATE", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andScheduleDateNotLike(Date value) {
            addCriterion("b.SCHEDULE_DATE  not like ", value, "b.SCHEDULE_DATE", 1);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andScheduleDateLeftLike(Date value) {
            addCriterion("b.SCHEDULE_DATE like ", value, "b.SCHEDULE_DATE", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andScheduleDateNotLeftLike(Date value) {
            addCriterion("b.SCHEDULE_DATE  not like ", value, "b.SCHEDULE_DATE", 0);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andScheduleDateRightLike(Date value) {
            addCriterion("b.SCHEDULE_DATE like ", value, "b.SCHEDULE_DATE", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andScheduleDateNotRightLike(Date value) {
            addCriterion("b.SCHEDULE_DATE  not like ", value, "b.SCHEDULE_DATE", 2);
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andScheduleDateIn(List<Date> values) {
            addCriterion("b.SCHEDULE_DATE  in ", values, "b.SCHEDULE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andScheduleDateNotIn(List<Date> values) {
            addCriterion("b.SCHEDULE_DATE not in ", values, "b.SCHEDULE_DATE");
            return (DmTaskStageCriteria) this;
        }

        public DmTaskStageCriteria andScheduleDateBetween(Date value1, Date value2) {
            addCriterion("b.SCHEDULE_DATE between ", value1, value2, "b.SCHEDULE_DATE");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andScheduleDateBetween(String value1, String value2) {
            addCriterion("b.SCHEDULE_DATE between ", value1, value2, "b.SCHEDULE_DATE");
            return (DmTaskStageCriteria) this;
        }
        public DmTaskStageCriteria andScheduleDateNotBetween(Date value1, Date value2) {
            addCriterion("b.SCHEDULE_DATE not between ", value1, value2, "b.SCHEDULE_DATE");
            return (DmTaskStageCriteria) this;
        }


    }

    public static class DmTaskStageCriteria extends GeneratedCriteria {

        protected DmTaskStageCriteria() {
            super();
        }
    }

    public static class DmTaskStageCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected DmTaskStageCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected DmTaskStageCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected DmTaskStageCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected DmTaskStageCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected DmTaskStageCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected DmTaskStageCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}